package cn.com.lsjz.nursemanager.service.system;

import java.util.List;

import cn.com.lsjz.nursemanager.model.system.SysOperation;


public interface SysOperationService {
	
	/**
	 * 根据用户ID获取对应的菜单权限信息
	 * @param userId
	 * @return
	 */
	List<SysOperation> loadModuleByUserId(String userId);
	
	List<SysOperation> loadModuleByParentId(Integer parentModuleId);
	
	List<SysOperation> loadParentModule();
	
	SysOperation getModuleById(Integer moduleId);
	
	SysOperation addModule(SysOperation moduleDict);
	
	SysOperation editModule(SysOperation moduleDict);
	
	void delModule(Integer moduleId);
	
	void activeModule(Integer moduleId,Integer active);
	
	List<SysOperation> loadModuleList();
	
}
